package model

import (
	"time"
)

const (
	CONTACT_CATE_USER      = 0x01
	CONTACT_CATE_COMMUNITY = 0x02
)

type Contact struct {
	Id         int64     `xorm:"pk autoincr bigint(20)" form:"id" json:"id"`
	OwnerId    int64     `xorm:"bigint(20)" form:"owner_id" json:"owner_id"`
	DstId      int64     `xorm:"bigint(20)" form:"dst_id" json:"dst_id"`
	Cate       int       `xorm:"int(11)" form:"cate" json:"cate"`
	Memo       string    `xorm:"varchar(120)" form:"memo" json:"memo"`
	CreateTime time.Time `xorm:"datetime" form:"create_time" json:"create_time"`
}
